package UserSystem;

import java.util.Random;

public class YanZheng {
    public static void main(String[] args) {
        Random r = new Random();
        StringBuilder stringBuilder = new StringBuilder();
        String []a = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C"
                ,"D","E", "F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"};
        for (int i = 0; i < 4; i++){
            int num = r.nextInt(52);
            stringBuilder.append(a[num]);
        }
        String string = stringBuilder.toString();
        //System.out.println(string);
        int num = r.nextInt(10);
        char num1 = (char) (num + '0');
        //System.out.println(num1);
        char []arr = string.toCharArray();
        char []arr1 = new char[5];
        for (int i = 0; i < arr.length; i++) {
            arr1[i] = arr[i];
        }
        int change = r.nextInt(5);
        for (int i = arr1.length - 1; i > change; i--) {
            arr1[i] = arr1[i - 1];
        }
        arr1[change] = num1;
        String string1 = new String(arr1);
        System.out.println(string1);
    }
}